Abstract block-attach and block-detach calls, and add to that the correct
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 7 May 2006 12:34:45 +0000 (13:34 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Sun, 7 May 2006 12:34:45 +0000 (13:34 +0100)
commitaed92ee453e344e1a45467b526ef0dac6d5b862f
tree7988d8e9c4fd5c13155521e87b3d2993542db376
parent4697d093c79c1fa4a004602e9c7d773a3c831d0d
Abstract block-attach and block-detach calls, and add to that the correct
polling waiting for the device to connect and disconnect.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
15 files changed:
tools/xm-test/lib/XmTestLib/block_utils.py [new file with mode: 0644]
tools/xm-test/tests/block-create/01_block_attach_device_pos.py
tools/xm-test/tests/block-create/02_block_attach_file_device_pos.py
tools/xm-test/tests/block-create/04_block_attach_device_repeatedly_pos.py
tools/xm-test/tests/block-create/05_block_attach_and_dettach_device_repeatedly_pos.py
tools/xm-test/tests/block-create/07_block_attach_baddevice_neg.py
tools/xm-test/tests/block-create/08_block_attach_bad_filedevice_neg.py
tools/xm-test/tests/block-create/09_block_attach_and_dettach_device_check_data_pos.py
tools/xm-test/tests/block-create/10_block_attach_dettach_multiple_devices.py
tools/xm-test/tests/block-destroy/01_block-destroy_btblock_pos.py
tools/xm-test/tests/block-destroy/02_block-destroy_rtblock_pos.py
tools/xm-test/tests/block-destroy/05_block-destroy_byname_pos.py
tools/xm-test/tests/block-destroy/06_block-destroy_check_list_pos.py
tools/xm-test/tests/block-list/02_block-list_attachbd_pos.py
tools/xm-test/tests/block-list/06_block-list_checkremove_pos.py